import java.util.HashMap;
import java.util.Vector;

public class SearchResults
{
	protected HashMap<Integer, Vector<Integer>> mResults = new HashMap<Integer, Vector<Integer>>();
	public void AddResults(int query_id, int doc_id)
	{
		if (!mResults.containsKey(query_id))
		{
			mResults.put(query_id, new Vector<Integer>());
		}
		Vector<Integer> ranked_doc_list = mResults.get(query_id);
		ranked_doc_list.add(doc_id);
	}
}